package com.mall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MallCarousel {
    String carouselId;
    String carouselCover;
    Integer carouselSort;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date carouselCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date carouselUpdateTime;
    String carouselHref;
    Integer isDelete;
}
